// 非空验证
function notnull(x){
    var a = x.value;
    console.log(a);
    msg_uname.innerHTML = "hellowa";
    msg_uname.innerHTML = "hellowa"
    if(a === 0){
        msg_uname.innerHTML = "hellowa";
    }
}
function submit(){
    var uname = uname.value;

    var upwd = upwd.value;

    //创建异步对象
    var xhr = new XHLHttpRequest();

    //开始监听
    xhr.onreadystatechange = function(){
        
    }

    //创建连接，打开连接
    xhr.open("get",`/pro/v1/login/${uname}&${upwd}`,true);

    //发送请求
    xhr.send();
}
